#ifndef OLOR_H
#define OLOR_H

#include <SDL/SDL.h>

class Olor {
  friend class Monitor;

  private:
    float position[3];

    int w, h;

    long  duration;
		long  oldTime;

    long  propagation;
		long  oldTimeProp;
	public:
		Olor(float x, float y,
        long duration=5000, float w=25, float h=14);

		void OnLoop();

    bool hasExpired();

    void OnRender(SDL_Surface* display);
};

#endif
